package com.chinasoft.class6.group5;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class LiYiXuan implements TrueWord {
    List<String> wordList = new ArrayList<>();
    Random random = new Random();

    public LiYiXuan(){
        wordList.add("真心话太冒险");
        wordList.add("地球online");
        wordList.add("如果你也看阅兵");
    }
    @Override
    public String getWord() {
        int index = random.nextInt(wordList.size());
        return wordList.get( index);
    }

    @Override
    public String getName() {
        return "李怡萱";
    }
}
